<?php

abstract class Leek_MultiDb_Table_Abstract extends Zend_Db_Table_Abstract
{
    protected function _setupDatabaseAdapter()
    {
        if (!$this->_db) {
            $multiDb   = new Leek_MultiDb();
            $this->_db = $multiDb->getSlave($this->_schema);
        }

        parent::_setupDatabaseAdapter();
    }
}
